
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
    <el-row :gutter="10">

        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="申请人" prop="GWGLORIU">
                <el-input v-model="form.GWGLORIU_NAME" disabled></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="申请部门" prop="GWGLORIG">
                <el-input v-model="form.GWGLORIG_NAME" disabled></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="申请日期" prop="GWGLDATE">
                <el-input v-model="form.GWGLDATE" disabled></el-input>
            </el-form-item>
        </el-col>

        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="参标单位" prop="GWGL005">
                <el-input v-model="form.GWGL005_NAME">
                    <i class="el-icon-search el-input__icon" @click="openOrg('GWGL005')" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="付款单位" prop="GWGL006">
                <el-input v-model="form.GWGL006_NAME">
                    <i class="el-icon-search el-input__icon" @click="openOrg('GWGL006')" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="招标编号" prop="GWGL001">
                <el-input v-model="form.GWGL001" readOnly>
                    <i class="el-icon-search el-input__icon" @click="openGwgl001" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="项目名称" prop="GWGL002">
                <el-input v-model="form.GWGL002" disabled></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="开标日期" prop="GWGL003">
                <el-input v-model="form.GWGL003" disabled></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="所属区域" prop="GWGL004" >
                <el-input v-model="form.GWADL004" readonly>
                    <i class="el-icon-search el-input__icon" @click="openGwgl004" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="商务制作员" prop="GWGL007" >
                <el-input v-model="form.GWGL007_NAME"disabled>
<!--                    <i class="el-icon-search el-input__icon" @click="openSysuser('GWGL007')" slot="suffix"></i>-->
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="商务审核员" prop="GWGL008" >
                <el-input v-model="form.GWGL008_NAME" disabled>
<!--                    <i class="el-icon-search el-input__icon" @click="openSysuser('GWGL008')" slot="suffix"></i>-->
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="费用类型" prop="GWGL009">
                <el-select v-model="form.GWGL009" clearable>
                    <el-option v-for="item in selectOptions.gwgl009Options" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="账号" prop="GWGL010">
                <el-input v-model="form.GWGL010"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="账户名称" prop="GWGL011">
                <el-input v-model="form.GWGL011"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="开户行" prop="GWGL012">
                <el-input v-model="form.GWGL012"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="办理方式" prop="GWGL013">
                <el-select v-model="form.GWGL013" clearable>
                    <el-option v-for="item in selectOptions.gwgl013Options" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="16" :sm="16" :md="16" :lg="16" :xl="16">
            <el-form-item label="汇入地点" prop="GWGL014">
                <el-input v-model="form.GWGL014"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="汇款备注" prop="GWGL022">
                <el-input type="textarea" v-model="form.GWGL022"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="金额（元）" prop="GWGL015">
                <el-input type="number" min="0" v-model="form.GWGL015"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="16" :sm="16" :md="16" :lg="16" :xl="16">
            <el-form-item label="大写金额" prop="GWGL016">
                <el-input v-model="form.GWGL016"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="招标文件页码" prop="GWGL017">
                <el-input v-model="form.GWGL017"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="项目负责人" prop="GWGL019">
                <el-input v-model="form.GWGL019_NAME" readOnly>
                    <i class="el-icon-search el-input__icon" @click="openSysuser('GWGL019')" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="退还时间" prop="GWGL026">
                <el-date-picker
                        v-model="form.GWGL026"
                        type="date"
                        value-format="yyyy-MM-dd"
                        style="width:100%;">
                </el-date-picker>
            </el-form-item>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="退还说明" prop="GWGL018">
                <el-input type = 'textarea'  v-model="form.GWGL018"></el-input>
            </el-form-item>
        </el-col>
<!--        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">-->
<!--            <el-form-item label="负责人" prop="GWGL020">-->
<!--                <el-input v-model="form.GWGL020_NAME">-->
<!--                    <i class="el-icon-search el-input__icon" @click="openSysuser('GWGL020')" slot="suffix"></i>-->
<!--                </el-input>-->
<!--            </el-form-item>-->
<!--        </el-col>-->
<!--        <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">-->
<!--            <el-form-item label="经办人" prop="GWGL021">-->
<!--                <el-input v-model="form.GWGL021_NAME">-->
<!--                    <i class="el-icon-search el-input__icon" @click="openSysuser('GWGL021')" slot="suffix"></i>-->
<!--                </el-input>-->
<!--            </el-form-item>-->
<!--        </el-col>-->
            <el-col :xs="16" :sm="16" :md="16" :lg="16" :xl="16">
                <el-form-item label="附件" class="c-upload-text">
                    <el-input v-model="form.GWGL025" v-show="true"></el-input>
                    <el-upload
                            style="width: 90%"
                            class="upload-demo"
                            ref="upload2"
                            v-model="form.GWGL025"
                            :action="uploadUrl"
                            :file-list="fileList"
                            list-type="text"
                            :on-preview="handleFilePreview"
                            :before-upload="beforeUploadFiles"
                            :on-remove="handleFileRemove"
                            :on-success="successUploadFiles"
                            :auto-upload="false">
                        <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
                    </el-upload>
                    <!--<a :href="address" target="_blank" style="width:40px;">下载</a>-->
                </el-form-item>
            </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button v-show="!detailReadOnly" type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwgi006_edit"], $.noop);
</script>